package com.group9.service.impl;

import com.group9.mapper.UserInfoMapper;
import com.group9.pojo.CustomerInfo;
import com.group9.service.DoubleNameService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by 45865 on 2020/6/12.
 */
@Service
public class DoubleNameServiceImpl implements DoubleNameService{

    @Autowired
    UserInfoMapper userInfoMapper;
    @Override
    public CustomerInfo doubleName(String userName) {
        CustomerInfo customerInfo = userInfoMapper.doubleName(userName);
        return customerInfo;
    }
}
